package com.black.app.mapper.exercise;

import com.black.app.domain.exercise.AppExerciseType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.black.app.domain.resp.exercise.AppExecrciseTypeInfoResp;

import java.util.List;

/**
* @author L
* @description 针对表【app_exercise_type(锻炼大分类)】的数据库操作Mapper
* @createDate 2024-10-23 16:57:08
* @Entity com.black.app.domain.exercise.AppExerciseType
*/
public interface AppExerciseTypeMapper extends BaseMapper<AppExerciseType> {

    /**
     * 获取所有类型
     * @return
     */
    List<AppExerciseType> getAllType();

    /**
     * 根据id查询
     * @param id
     * @return
     */
    AppExecrciseTypeInfoResp searchById(Long id);
}




